package entity;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Employee {
    public Employee(){}
    private static final Logger LOGGER = LoggerFactory.getLogger(pet.class);
    private String name;
    private int age;
    private String num;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        LOGGER.debug("Pet对象的setAge方法被调用！参数age={}",age);
        this.age = age;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }
    public void num1(){
        System.out.println("大家好，我是"+this.num+"工程师岗位的"+this.name+",今年"+this.age+"岁");
    }

}
